package com.skt.manage.service;

import java.util.List;
import com.skt.manage.domain.Medicalrecords;

/**
 * 患者病历Service接口
 * 
 * @author ruoyi
 * @date 2025-02-22
 */
public interface IMedicalrecordsService 
{
    /**
     * 查询患者病历
     * 
     * @param recordId 患者病历主键
     * @return 患者病历
     */
    public Medicalrecords selectMedicalrecordsByRecordId(Long recordId);

    /**
     * 查询患者病历列表
     * 
     * @param medicalrecords 患者病历
     * @return 患者病历集合
     */
    public List<Medicalrecords> selectMedicalrecordsList(Medicalrecords medicalrecords);

    /**
     * 新增患者病历
     * 
     * @param medicalrecords 患者病历
     * @return 结果
     */
    public int insertMedicalrecords(Medicalrecords medicalrecords);

    /**
     * 修改患者病历
     * 
     * @param medicalrecords 患者病历
     * @return 结果
     */
    public int updateMedicalrecords(Medicalrecords medicalrecords);

    /**
     * 批量删除患者病历
     * 
     * @param recordIds 需要删除的患者病历主键集合
     * @return 结果
     */
    public int deleteMedicalrecordsByRecordIds(Long[] recordIds);

    /**
     * 删除患者病历信息
     * 
     * @param recordId 患者病历主键
     * @return 结果
     */
    public int deleteMedicalrecordsByRecordId(Long recordId);
}
